Summary Comparision
We've seen two bodies of code illustrated in several examples, one in C and the other in Java. In summary, we could note the following points:
-
Both pieces of code can open and play a vast number of media files.
-
The C code is specific to the Macintosh; the Windows version (not shown) is different--though only slightly. Of course, as an application in C is developed around QuickTime, more and more platform-specific code needs to be written, whereas with Java, a framework is provided that is a cross-platform API as well as a cross-platform execution model.
-
The Java code benefits from the Java class framework with which a developer may already be familiar.
-
Java runs anywhere, unchanged, so long as QuickTime is available. As other client operating systems gain QuickTime support, the QuickTime for Java code will run there, too.
-
The Java code is arguably simpler.
© 1999 Apple Computer, Inc.| Previous | Chapter Top | Next |